package zyc.pojo;

/**
 * @description:
 * @author: Code-zyc
 * @date: Created in 2020/12/23 20:48
 * @version: v1.0
 * @modified By:
 */
public class Teacher {
    private Integer id;
    private Integer tid;
    private String name;
    private String phone;
    private String password;


    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", tid=" + tid +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Teacher(Integer id, Integer tid, String name, String phone, String password) {
        this.id = id;
        this.tid = tid;
        this.name = name;
        this.phone = phone;
        this.password = password;
    }

    public Teacher() {
    }
}
